package main

//import (
//	"bbs-web/internal/ioc"
//	"bbs-web/internal/repository/dao"
//	use "bbs-web/internal/repository/user"
//	"bbs-web/internal/service"
//	"bbs-web/internal/web"
//	"bbs-web/internal/web/handler"
//	"github.com/gin-gonic/gin"
//)
//
//// Injectors from wire.go:
//
//func InitWebServer(path string) *gin.Engine {
//	config := ioc.InitConfig(path)
//	db := ioc.InitDatabase(config)
//	iUserDao := dao.NewuserDao(db)
//	iUserRepo := use.NewUserRepo(iUserDao)
//	iUserService := service.NewUserService(iUserRepo)
//	icaptchaService := service.NewCaptchaService()
//	captchaHandler := handler.NewCaptchaHandler(icaptchaService)
//	userHandler := handler.NewuserHandler(iUserService, icaptchaService)
//	router := web.NewRouter(userHandler, captchaHandler)
//	v := ioc.InitMiddleware(config)
//	engine := ioc.InitGin(router, v)
//	return engine
//}
